package com.season.seasonStudy.javase.j_013_innerClass.printer;

public class Printer {
	private Paper p;
	private InkBox ink;

	public void print(String context) {
		System.out.println("打印开始");
		System.out.print("纸张大小是:");
		p.show();
		System.out.print("墨盒颜色是:");
		ink.show();
		System.out.println("打印结束");
	}

	public Paper getP() {
		return p;
	}

	public void setP(Paper p) {
		this.p = p;
	}

	public InkBox getInk() {
		return ink;
	}

	public void setInk(InkBox ink) {
		this.ink = ink;
	}
}
